/**
 * output package name
 */
package com.kingdee.eas.crm.enumeration;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class CompetitionEnum extends StringEnum
{
    public static final String ONE_VALUE = "10";
    public static final String TWO_VALUE = "20";
    public static final String THREE_VALUE = "30";
    public static final String FOUR_VALUE = "40";

    public static final CompetitionEnum one = new CompetitionEnum("one", ONE_VALUE);
    public static final CompetitionEnum two = new CompetitionEnum("two", TWO_VALUE);
    public static final CompetitionEnum three = new CompetitionEnum("three", THREE_VALUE);
    public static final CompetitionEnum four = new CompetitionEnum("four", FOUR_VALUE);

    /**
     * construct function
     * @param String competitionEnum
     */
    private CompetitionEnum(String name, String competitionEnum)
    {
        super(name, competitionEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static CompetitionEnum getEnum(String competitionEnum)
    {
        return (CompetitionEnum)getEnum(CompetitionEnum.class, competitionEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(CompetitionEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(CompetitionEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(CompetitionEnum.class);
    }
}